package com.tengju.data.infrastructure.persistence.mybatis.mapper.dealerclickhouse.crm;

import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author chenhang
 * @Date 2022/1/8
 */
public interface ActivityCrowdMapper {

    void batchInsertCrowdUser(@Param("activityId") Long activityId,
                              @Param("crowdId") Long crowdId,
                              @Param("insertTime") String insertTime,
                              @Param("idCodeList") List<Long> idCodeList);


    void syncActivityCrowdDetail(@Param("activityId") Long activityId,
                                 @Param("crowdId") Long crowdId,
                                 @Param("limitVtnLevels") List<Integer> limitVtnLevels,
                                 @Param("insertTime") String insertTime);

    void syncActivityCrowdDetailFromBehavior(@Param("activityId") Long activityId,
                                             @Param("crowdId") Long crowdId,
                                             @Param("insertTime") String insertTime);
}
